Skip to content

particles: core, sprite/rope/trail rendering, game glue and the commo… - #268

Open
Earu wants to merge 3 commits into
SourceDotNET:mainfrom
Earu:particles/core-common-operators
Open

Earu wants to merge 3 commits into
SourceDotNET:mainfrom
Earu:particles/core-common-operators

Conversation

@Earu

@Earu Earu commented Nov 16, 2026

Copy link
Copy Markdown
Contributor

First part of the particle system port (split from #256). GMod's x64 binaries are the reference; SDK 2013 is used for structure.

Contents

  • Source.Particles: collection, definitions, manager, DMX unpacking, sheets, random tables.
  • Rendering: render_animated_sprites, render_rope, render_sprite_trail, the spritecard/splinecard shaders and the render cache.
  • Game glue: ParticleMgr, NewParticleEffect, ParticleProperty, C_ParticleSystem, ParticleSystemQuery, PCF manifest parsing, effect dispatch, particle anim events, server precache.
  • The 41 particle functions that each appear in at least 10 of the 403 stock GMod particle systems. 85% of stock systems use only these.

Testing

  • Debug, Release and both Dedicated configs build; the 277 tests pass.
  • All 21 stock PCFs load; the 41 included functions are the only ones registered.

…n operators

Particle system core, spritecard rendering and client/server glue, with the
41 particle functions used by at least 10 stock GMod systems. Remaining
operators, Lua bindings and particle tracers follow separately.
@marchc1

marchc1 commented Nov 21, 2026

Copy link
Copy Markdown
Member

I made a few changes; let me know if that looks alright (mostly class/struct differences and memory allocation concerns)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants